<%@page import="com.nav.games.app.busobj.def.User"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<div id="top">
<%User user = (User)session.getAttribute("user");
if(user == null) {%>
	<a href="#" onclick="openSignup();"><spring:message code="label.signup"/></a>
	<a href="#" onclick="openLogin();"><spring:message code="label.login"/></a>
<%} else {
	String userName = user.getUserName();
	String firstName = user.getFirstName();%>
	Hi <%=(firstName == null ? userName : firstName)%>!
	<a href="#" onclick="logout();"><spring:message code="label.logout"/></a>
<%}%>
</div>